package org.neuedu.his.service.reg;

import org.neuedu.his.mapper.RegisterMapper;
import org.neuedu.his.model.Constantitem;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class RegisterService {
    @Autowired
    RegisterMapper registerMapper;

    public int getInvoiceNum() {
        return registerMapper.getInvoiceNum();


    }

    public int getCaseNum() {
        return registerMapper.getCaseNum()+1;
    }

}
